package com.share.wechat.core.config.entity;

/**
 * 调用微信登陆小接口
 * 返回实体类的代码
 * 成功
 */
public class LoginSuccess {
    /**
     * 全局唯一id
     */
    private String openid;
    /**
     * 加密的session_key
     */
    private String session_key;
    /**
     * 全局唯一的unionid
     */
    private String unionid;


    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getSession_key() {
        return session_key;
    }

    public void setSession_key(String session_key) {
        this.session_key = session_key;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    @Override
    public String toString() {
        return "LoginSuccess{" +
                "openid='" + openid + '\'' +
                ", session_key='" + session_key + '\'' +
                ", unionid='" + unionid + '\'' +
                '}';
    }
}
